#define  _CRT_SECURE_NO_WARNINGS  1
#include  <stdio.h>
void fun(char* s, char* t)
{
	int x = 0;
	while (*s != '\0')//abc
	{
		*t = *s;
		s++;
		t++;
		x++;//123
	}
	while (x > 0)
	{
		s--;
		*t = *s;
		t++;
		x--;
	}
	*t = '\0';
}

int main()
{
	char   s[100], t[100];
	scanf("%s", s);
	fun(s, t);
	printf("The result is: %s", t);
	return 0;
}